
<div id="menuitem-component">

    <div class="title">
        <empty name="Think.get.miid">
                <p>请选择要创建的菜单项类型</p>
            <else/>
                <p>请选择要重写的菜单项类型</p>
        </empty>

    </div>

    <eq name="nobody" value="no">
            <div class="content">
                <div id="nodata">暂无组件,请先创建组件<div><a href="__APP__/Component/index">点这里进入</a></div></div>
            </div>
        <else/>
            <div class="content">
                <volist name="list" id="vo">
                    <div class="component">
                       <if condition="$vo['model'] eq custom">
                                <a class="name" href="__APP__/MenuItem/add/mid/<{$Think.get.mid}>/cid/<{$vo['id']}>/adds/custom"><{$vo['name']}></a>
                           <else/>
                                <a class="name" href="__APP__/<{$vo['model']}>/select/mid/<{$Think.get.mid}>/cid/<{$vo['id']}>"><{$vo['name']}></a>
                       </if>
                        <div class="desc"><{$vo['description']}></div>
                    </div>
                </volist>
            </div>
    </eq>

</div>
<script type='text/javascript' src='../Public/js/menuitem_index.js'></script>